package ithema.StringBuider;

public class StringBuilderDemo3 {
    public static void main(String[] args) {
        //1.创建对象
        StringBuilder sb = new StringBuilder();
        //2.添加字符串
        sb.append("aaa").append("bbb").append("ccc").append("ddd");
        System.out.println(sb);
        //3.再把StringBuilder变回字符串
        System.out.println(sb);
    }
}
